"""
学生模块，保存学生信息
"""


class Student(object):

    # 定义一个初始化方法，定义学生信息属性
    def __init__(self, stu_id, stu_name, stu_age):
        self.stu_id = stu_id
        self.stu_name = stu_name
        self.stu_age = stu_age

    def __str__(self):
        return "| id: " + self.stu_id + " | 姓名: " + self.stu_name + " | 年龄: " + self.stu_age

